repeat
  level = passiveLightReading(3)
  speed = level * 1
  forward(A, speed)
  forward(B, speed)
  write("level:" .. level, 1)
  write("speed:" .. speed, 2)
  write("left: " .. speedReading(A), 3)
  write("right:" .. speedReading(B), 4)
until isPressed(ESCAPE)
stop(A)
stop(B)

